<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript" src="./color-picker.js"></script>
	<link rel="stylesheet" href="./color-picker.css" type="text/css" />
</head>
<body>
	<form><input type="text" id="color" name="color" value="#000" /></form>

<div id="colorpicker"></div>

<script type="text/javascript">

  jsColorPicker(document.querySelector('#colorpicker'),'#color');

</script>
</body>
</html>